//
//  tabBarVC.m
//  快圈
//
//  Created by ym on 16/9/10.
//  Copyright © 2016年 ym. All rights reserved.
//

#import "tabBarVC.h"

@interface tabBarVC ()

@end

@implementation tabBarVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.tabBar.tintColor = [UIColor whiteColor];
    
}

- (void)awakeFromNib {
    [super awakeFromNib];
    
    for (UITabBarItem *item in self.tabBar.items) {
        item.image = [item.image imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
       
    NSDictionary *dic =     [NSDictionary dictionaryWithObjectsAndKeys:
         [UIColor blackColor], NSForegroundColorAttributeName,
         [UIFont fontWithName:@"AmericanTypewriter" size:0.0], NSForegroundColorAttributeName,
         nil];
        
        NSMutableDictionary *textArrays = [NSMutableDictionary dictionary];
        textArrays[NSForegroundColorAttributeName] = [UIColor whiteColor];
        [item setTitleTextAttributes:dic forState:UIControlStateNormal];
         [item setTitleTextAttributes:textArrays forState:UIControlStateHighlighted];
    }
}



@end
